<div id="testReportPreview" class="zs-ibox" style="width:98%;max-width:1250px;" ng-style="{'overflow':'auto','height':(Map_H - 100)+'px',width:(Map_W)+'px'}">
 	<h2 style="font-family: "Microsoft YaHei", verdana, tahoma;" align="center">企业污染源自动监控设施比对监测情况
</h2>
     <table class="zs-dataComparison-tab" >
		<tbody>
			<tr>
				<td class="center" style="width:200px;">企业名称</td>
				<td colspan="6" class="center" >{{detailData.COMPANYNAME}}</td>	
			</tr>
			<tr>
				<td class="center" style="width:200px;">比对监测单位</td>
				<td class="center" colspan="3" >{{detailData.POINTNAME}}</td>
				<td class="center" style="width:200px;">接样时间</td>
				<td class="center"colspan="2" >
				 {{essential.FORMATSAMPLETAKETIME}}
					
				</td>
			</tr>
			<tr>
				<td class="center" style="width:200px;">点位名称及编号</td>
				<td colspan="6" class="center" >{{detailData.STATIONNAME}}</td>	
			</tr>
			<tr>
				<td class="center" style="width:200px;">自动监控设施名称</td>
				<td colspan="6" class="center" >{{essential.NAME}}</td>	
			</tr>
			<tr>
				<td class="center" style="width:200px;">制造单位</td>
				<td colspan="6" class="center" >{{essential.MANUFACTURER}}</td>	
			</tr>
			<tr>
				<td class="center" style="width:200px;">型号及编号</td>
				<td colspan="6" class="center" >{{essential.DEVICE_TYPENUM}}</td>	
			</tr>
			<tr>
				<td class="center" rowspan="2" style="width:200px;">监测项目</td>
				<td colspan="6" class="center" >分析方法</td>	
			</tr>
			<tr>
				<td class="center" style="min-width:465px;" colspan="3">比对方法</td>
				<td  class="center" style="min-width:465px;"  colspan="3" >自动监测方法</td>	
			</tr>
			<tr>
				<td class="center" >{{essential.S_DOMAINCAPTION}}</td>
				<td class="center" colspan="3">{{essential.LI_EXPMETHOD}}</td>
				<td  class="center" colspan="3">{{essential.TEST_METHODS}}</td>	
			</tr>
		</tbody>
		<tbody>
		<tr ng-show="WaterTableRowList.length>0&&WaterTableRowList.length<=0">
        	<td class="center" style="width:250px">样品编号</td>
        	<td class="center" style="width:260px">采样时间</td>
        	<td class="center" style="width:120px">在线仪器测定值</td>
        	<td class="center" style="width:120px">实验室测定值</td>
        	<td class="center" style="width:125px">绝对误差</td>
        	<td class="center" style="width:125px">相对误差(%)</td>
        	<td class="center" style="width:140px">结果评定</td>
        	<td class="center" style="width:110px">备注</td>
        </tr>
        <tr ng-repeat="row in WaterTableRowList" ng-show="WaterTableRowList.length>0&&WaterTableRowList.length<=0">
			<td class="center">{{row.SAMPLENUMBER}}</td>
			<td class="center">{{row.FORMATSAMPLEBEGINTIME}}-{{row.FORMATSAMPLEENDTIME}}</td>				 
				<td class="center">{{row.ONLINEINSVALUE|number:2}}</td>
			<td class="center">{{row.LABORATORYVALUE|number:2}}</td>
			<td class="center">
			<span ng-show="row.ABSOLUTEERROR!=''&&row.ABSOLUTEERROR!=null">{{row.ABSOLUTEERROR|number:2}}</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>
			</td>
			<td class="center">
				 <span ng-show="row.RELATIVEERROR!=''&&row.RELATIVEERROR!=null">{{row.RELATIVEERROR|number:2}}%</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>		
			</td>
			<td class="center"><span ng-show="row.EVARESULTE=='0'">合格</span>	 
				      	 	<span ng-show="row.EVARESULTE=='1'">不合格</span></td>
			<td class="center"></td>
		</tr>  
	   <tr ng-show="WaterTableRowList.length>0">
	                <td class="center" style="font-weight: bold;"rowspan="2">项目</td>
	                <td class="center" style="font-weight: bold;"rowspan="2">比对监测数据</td>	             
	                <td class="center" style="font-weight: bold;"rowspan="2">自动监测数据</td>
	                <td class="center" style="font-weight: bold;" colspan="2">比对结果</td>
	                <td class="center" style="font-weight: bold;width:200px;"rowspan="2" >标准限值</td>
	                <td class="center" style="font-weight: bold;width:100px;"rowspan="2">达标情况</td>
	               <!-- 	<td class="center" style="font-weight: bold;"rowspan="2">操作</td> -->
	            </tr>
	             <tr ng-show="WaterTableRowList.length>0">
	                <td class="center" style="font-weight: bold;width:200px;">绝对误差</td>
	                <td class="center" style="font-weight: bold;width:200px;">相对误差</td>	             
	 
	            </tr>
        	</tbody>
        	<tbody ng-show="param=='029'||param=='024'||param=='028'">
           		<tr ng-repeat="row in WaterTableRowList">
	        	   <td class="center" ng-show="$index%9==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="9">
				    	{{essential.S_DOMAINCAPTION}}
				    </td>				 	   
				     <td class="center" ng-show="$index%3==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="3">
				      {{row.LABORATORYVALUE|number:2}}
				    </td>		 
				    <td class="center" ng-show="row.SAMPLENUMBER!='平均值'&&$index<=8">			    
				    	<span>{{row.ONLINEINSVALUE|number:2}}</span>
				    </td>
					<td class="center" ng-show="$index%9==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="9">
				       &nbsp;
				    </td>	
				    <td class="center" ng-show="$index%9==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="9">		      
				       <span ng-show="row.LABORATORYVALUE!=''&&row.LABORATORYVALUE!=null
				       &&row.ONLINEINSVALUE!=''&&row.ONLINEINSVALUE!=null">{{row.RELATIVEERROR|number:2}}%</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>		       	       
				    </td>
				    <td class="center" ng-show="$index%9==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="9">
				       {{Limitingvalue(row)}}
				    </td>
				      <td class="center" ng-show="$index%9==0&&row.SAMPLENUMBER!='平均值'&&$index<=8" rowspan="9">				      
				      	 	<span ng-show="row.EVARESULTE=='0'">合格</span>	 
				      	 	<span ng-show="row.EVARESULTE=='1'">不合格</span>	 
				      	 	<span ng-show="row.EVARESULTE==''">&nbsp;</span>	 
				    </td>
		
				    <!--下标大于8-->	
				     <td class="center" ng-show="($index-row.count)%9==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="9">
				    	{{essential.S_DOMAINCAPTION}}
				    </td>				   
				    <td class="center" ng-show="($index-row.count)%9==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="9">		
				     {{row.LABORATORYVALUE|number:2}}
				   	</td>			 
				    <td class="center" ng-show="row.SAMPLENUMBER!='平均值'&&$index>9">				     
				    	<span>{{row.ONLINEINSVALUE|number:2}}</span>
				    </td>
				     <td class="center" ng-show="($index-row.count)%3==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="3">
				       &nbsp;
				    </td>
					 <td class="center" ng-show="($index-row.count)%9==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="9">
				    	<span ng-show="row.LABORATORYVALUE!=''&&row.LABORATORYVALUE!=null
				       &&row.ONLINEINSVALUE!=''&&row.ONLINEINSVALUE!=null">{{row.RELATIVEERROR|number:2}}%</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>		         
				    </td>	
				     <td class="center" ng-show="($index-row.count)%9==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="9">
				      {{Limitingvalue(row)}}
				    </td>	
				      <td class="center" ng-show="($index-row.count)%9==0&&row.SAMPLENUMBER!='平均值'&&$index>9" rowspan="9">
				      	 	<span ng-show="row.EVARESULTE=='0'">合格</span>	 
				      	 	<span ng-show="row.EVARESULTE=='1'">不合格</span>	 
				      	 	<span ng-show="row.EVARESULTE==''">&nbsp;</span>	 
				    </td>
				   	
				    <!--平均值-->	
			      	<td class="center" ng-show="row.SAMPLENUMBER=='平均值'">
				    	平均值
				    </td>	
				    <td class="center" ng-show="row.SAMPLENUMBER=='平均值'">		
				   		{{row.LABORATORYVALUE}}
				   	</td>			 
				    <td class="center" ng-show="row.SAMPLENUMBER=='平均值'">
						—
				    </td>
				     <td class="center" ng-show="row.SAMPLENUMBER=='平均值'">
				     	—
				    </td>
					
				    <td class="center" ng-show="row.SAMPLENUMBER=='平均值'" >
				       —
				    </td>
				    <td class="center" ng-show="row.SAMPLENUMBER=='平均值'">
				      	— 
				    </td>
				    <td class="center" ng-show="row.SAMPLENUMBER=='平均值'" >
				      —
				    </td>
				</tr>
				</tbody>
				<tbody ng-show="param!='029'&&param!='024'&&param!='028'">
           		<tr  ng-repeat="row in WaterTableRowList" ng-show="WaterTableRowList.length>0">
				    <td class="center" ng-show="$index==0" rowspan="{{WaterTableRowList.length}}">
				    	{{essential.S_DOMAINCAPTION}}
				    </td>
				  	<td class="center" >
				      {{row.LABORATORYVALUE|number:2}}
				    </td>
				    <td class="center" >		
				  	 {{row.ONLINEINSVALUE|number:2}}
				   	</td>				 
				    <td class="center" >				      				    	
				    	<span ng-show="row.ABSOLUTEERROR!=''&&row.ABSOLUTEERROR!=null">{{row.ABSOLUTEERROR|number:2}}</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>
				    </td>
				    <td class="center" >
				   		<span ng-show="row.RELATIVEERROR!=''&&row.RELATIVEERROR!=null">{{row.RELATIVEERROR|number:2}}%</span>
				       	<span ng-show="row.LABORATORYVALUE==''||row.LABORATORYVALUE==null
				       ||row.ONLINEINSVALUE==''||row.ONLINEINSVALUE==null">&nbsp;</span>		
				    </td>
				    <td class="center" >	
				   			{{Limitingvalue(row)}}
				    </td>
				      <td class="center" >				      
				      	 	<span ng-show="row.EVARESULTE=='0'">合格</span>	 
				      	 	<span ng-show="row.EVARESULTE=='1'">不合格</span>	 
				      	 	<span ng-show="row.EVARESULTE==''">&nbsp;</span>	 
				    </td>
				</tr> 
				</tbody>
				<tbody>
				<tr>
					<td rowspan="3" class="center">比对监测结论</td>
					<td colspan="6" style="border:0px;">
						根据HJ/T354-2007《水污染源在线监测系统验收技术规范(试行)》要求，进行本次比对，结果{{essential.FORMATCOMPARISONRESULT}}.
					</td>
				</tr>	
				<tr>
					<td colspan="6" style="text-align: right;border:0px;">
						比对监测单位：{{detailData.REALCOMPARISONDEPART}}&nbsp;&nbsp;
					</td>				
				</tr>	
				<tr>
					<td colspan="6" style="text-align: right;border:0px">
						{{essential.FORMATACCOMPLISHTIME}}&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>						 				
        	</tbody>
	</table>
   </div>
   <br/>